﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Space_Cleaner.SpaceCleaner
{
    class Utils
    {
        internal static void limit(ref float _value, float _min, float _max)
        {
            if (_value < _min)
                _value = _min;
            if (_value > _max)
                _value = _max;
        }

        internal static float degToRad(float angle)
        {
            return (float)((Math.PI * angle) / 180.0f);
        }
    }
}
